<?php

namespace haibao\erp\model\data\product;

class ProductPic extends \haibao\erp\model\data\Base{
	/**
	 * 单品id
	 */
	public $ProductId;
	/**
	 * 图片地址
	 */
	public $PicUrl;
	/**
	 * 图片类型
	 */
	public $PicType;
	/**
	 * 创建时间
	 */
	public $CreateTime;
	
	public function __construct(){
		parent::__construct();
		
		$this->intField('ProductId', 'ProductId',true);
		$this->stringField('PicUrl', 'PicUrl',true);
		$this->intField('PicType', 'PicType',true);
		$this->dateField('CreateTime', 'CreateTime',true);
		
		$this->setTableName('ProductPic');
	}
}